package com.example.demo.service.impl;

import com.example.demo.dao.BookPressDao;
import com.example.demo.pojo.BookPressBean;
import com.example.demo.service.BookPressService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @Classname BookPressService
 * @Description TODO
 * @Date 2020/12/27 21:04
 * @Created by 新
 */
@Service
@Transactional(rollbackFor = Exception.class)
public class BookPressServiceImpl implements BookPressService {
    @Autowired
    BookPressDao bookPressDao;

    @Override
    public int deleteBookPressList(String press) {
        int j=bookPressDao.deleteBookPressList(press);
        int a=1/0;
        return j;
    }
}
